package org.demo.patten.factory_method;

/**
 * @author zhuj
 * @date 2025/3/21
 * @apiNote
 * 工厂方法模式
 */
public class Test {
    public static void main(String[] args) {
        ProductFactory productAFactory = new ProductAFactory();
        Product product = productAFactory.createProduct();
        product.use();
    }
}
